package com.gqz.equip.vo;

import com.alibaba.fastjson2.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Description
 * @Author Zhaixr
 * @Date 2022/9/13
 **/
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name = "导出参数")
public class ExportParamVo {

    @SchemaProperty(name = "查询接口URL")
    private String url;

    @SchemaProperty(name = "文件名称")
    private String fileName;

    @SchemaProperty(name = "数据数量")
    private Integer dataNum;

    @SchemaProperty(name = "导出的列编码列表")
    private List<String> columnCodeList;

    @SchemaProperty(name = "导出的列名称列表")
    private List<String> columnNameList;

    @SchemaProperty(name = "导出的列宽度列表")
    private List<Integer> columnWidthList;

    @SchemaProperty(name = "查询参数")
    private JSONObject queryParams;
}
